// vue 的路由传参有四种方法，这里 react 有两种方式进行传参
import { BrowserRouter } from "react-router-dom";
import React from "react";

import RouterCom from "./routes/index";


const App = () => {
    return (
        <BrowserRouter basename="/sub-react">
            <RouterCom />
        </BrowserRouter>
    );
};

export default App;
